package io.renren.modules.business.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.renren.modules.app.entity.UserEntity;
import io.renren.modules.business.entity.BusProjectTutorEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 项目导师
 * 
 * @author liao mengqing
 */
@Mapper
public interface BusProjectTutorDao extends BaseMapper<BusProjectTutorEntity> {
    /**
     * 查询未被添加为项目导师的教师信息
     * @return
     */
	List<UserEntity> seleTeacherList();

    /**
     * 根据用户名查询未被添加为项目导师的教师信息
     * @param userName
     * @return
     */
	List<UserEntity> seleTeacher(String userName);

    /**
     * 查询所有导师信息
     * @return
     */
	List<Map<String, Object>> seleTutorList();

    /**
     *根据用户名查询导师信息
     * @return
     */
	List<Map<String, Object>> seleTutor(String userName);
}
